/* 页面标题颜色 */

// * {
//   user-select: none;
// }

.h3 {
  color: #258cd7;
  font-weight: 600;
}

.none-background {
  margin: 0!important;
  border-radius: 0;
}

/* 表单样式修改 */



//.ant-input-number-handler-wrap{
//  background: #207064;
//  border-left: 1px solid #0fd08f;
//}
//.ant-input-number-handler-down{
//  border-top: 1px solid #0fd08f;
//}

//.ant-calendar-picker-icon,
//.anticon {
//  color: #2c6a60;
//}

textarea {
  /* 设置文本域不可拖拽 */
  resize: none;
}


//级联选择器选中样式、鼠标移入
//.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled), .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover{
//  background: #189580;
//}
//.ant-cascader-menu-item:hover{
//  background: #189580;
//}
//.ant-cascader-menus{
//  background: #207064;
//  .ant-cascader-menu{
//    border-right: 0;
//    &::-webkit-scrollbar {
//      height: 12px;
//      width: 12px;
//      border: 1px solid #207064;
//    }
//
//    &::-webkit-scrollbar-thumb {
//      //border-radius: 10px;
//      background-color: #1d9988;
//    }
//
//    &::-webkit-scrollbar-track {
//      border-radius: 0;
//      background: transparent;
//    }
//
//    &::-webkit-scrollbar-corner {
//      width: 0;
//      height: 0;
//      background: transparent;
//    }
//  }
//}


//.ant-select-dropdown-menu::-webkit-scrollbar {
//  // 表单下拉框滚动条样式
//  display: none;
//}

/* 树形下拉框选择样式 */

//.ant-select-dropdown {
//  &::-webkit-scrollbar {
//    display: none;
//  }
//}




//.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled),
//.ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled),
//.ant-select-dropdown-menu-item-selected {
//  background: #207064;
//}

/* 下拉选择框背景及边框 */

//.ant-select-selection:hover,
//.ant-select-focused .ant-select-selection,
//.ant-select-selection:focus,
//.ant-select-selection:active,
//.ant-input:focus {
//  border-color: #2c4945;
//  box-shadow: 0 0 0 2px rgba(55, 221, 193, 0.2);
//}

//.ant-select-selection:hover .ant-select-selection__clear,
//.ant-select-selection__clear {
//  background: #2c4945;
//  display: inline-table;
//  font-size: 18px;
//  top: 45%;
//  right: 10px;
//}
//
//.ant-select-arrow {
//  font-size: 18px;
//  top: 45%;
//  right: 10px;
//}

// 禁用下拉框样式
//.ant-select-disabled .ant-select-selection {
//  background: #2c4945;
//}

/* 是否启用 */

//.ant-switch {
//  background-color: rgba(178, 184, 178, 0.8);
//}
//
//.ant-switch-checked {
//  background-color: #37ddc0;
//}

/* 单选框 */
//span.ant-radio + * {
//  color: #37ddc0;
//}
//
//.ant-radio-checked .ant-radio-inner {
//  border-color: #37ddc0;
//}
//
//.ant-radio-inner::after {
//  background-color: #37ddc0;
//}
//
//.ant-radio-disabled .ant-radio-inner {
//  background: #778899;
//}

//  多选框
//.ant-checkbox-checked .ant-checkbox-inner{
//  background-color: #37ddc0;
//  border-color: #37ddc0;
//}
//.ant-checkbox-wrapper {
//  color: #37ddc0;
//}
//
//.ant-checkbox-disabled + span {
//  color: #37ddc0;
//}
//
//.ant-checkbox-disabled .ant-checkbox-inner {
//  background: #778899;
//}


/* 分页样式 */
.ant-pagination {

  .ant-pagination-prev,
  .ant-pagination-next {
    padding: 0 6px;
    border: 1px solid #3787c2;
  }

  .ant-pagination-item {
    border: 1px solid #3787c2;
  }

  .ant-pagination-item > a,
  .ant-pagination-item-active > a,
  .ant-pagination-prev > a,
  .ant-pagination-next > a {
    color: #3787c2;
  }

  .ant-pagination-item-active {
    background-color: #3787c2;
    &>a{
      color: #fff;
    }
  }

  .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,
  .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
    color: #3787c2;
  }

  .ant-pagination-item-active:focus a,
  .ant-pagination-item-active:hover a,
  .ant-pagination-item:hover a {
    color: #fff;
    background-color: #3787c2;
  }
  .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {
    color: #3787c2;
  }
}

/* 表格样式 */
.ant-table,.ant-table-thead > tr > th{
  color: #000;
}


.ant-table-wrapper {
  ///* 表格滚动条样式*/
  .ant-table-fixed-header .ant-table-scroll .ant-table-header {
    overflow-x: auto !important;
    overflow-y: auto !important;
    //background: #207064;
    margin-bottom: 0!important;
  }

  .ant-table-scroll .ant-table-body {
    overflow-x: auto!important;
    overflow-y: auto!important;

  }


  /* 表格数据为空时样式 */
  .ant-table-placeholder {
    height: 200px;
    background-color: rgba(255, 255, 255);
    //border: 1px solid #207064;
    line-height: 200px;
    //color: #207064;
    font-size: 30px;
  }

  .ant-table-placeholder::after {
    content: "暂无数据！";
  }

  .ant-empty-normal {
    display: none;
  }
}


/* 树结构 */

//.ant-tree.ant-tree-directory > li.ant-tree-treenode-selected > span.ant-tree-node-content-wrapper::before {
//  background: none;
//}

// 时间选择器
//.ant-time-picker-input {
//  color: #37ddc0;
//  background: #2c4945;
//  border: 1px solid #2c4945;
//}



/* 按钮样式 */
/* 确认 */
//.ant-btn-primary {
//  font-size: 16px;
//  font-weight: 600;
//  background: #207064;
//  border: 1px solid #207064;
//  color: rgba(255, 255, 255, 0.8);
//}
//
//.ant-btn-primary:hover,
//.ant-btn-primary:focus {
//  background: #207064;
//  border: 1px solid #207064;
//  color: rgba(255, 255, 255, 0.8);
//  box-shadow: 0 0 8px 0px #207064;
//}

/* 修改 */
.ant-btn-warning {
  font-size: 16px;
  font-weight: 600;
  background: #2f5681;
  border: 1px solid #2f5681;
  color: rgba(255, 255, 255, 0.8);
}

.ant-btn-warning:hover,
.ant-btn-warning:focus {
  background: #2f5681;
  border: 1px solid #2f5681;
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 8px 0px #2f5681;
}

/* 删除 */
.ant-btn-danger {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: #da6a57;
  border: 1px solid #da6a57;
}

.ant-btn-danger:hover,
.ant-btn-danger:focus {
  color: rgba(255, 255, 255, 0.8);
  background: #da6a57;
  border: 1px solid #da6a57;
  box-shadow: 0 0 8px 0px #da6a57;
}

/* 取消按钮 */
.ant-btn-info {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: #2c9451;
  border: 1px solid #2c9451;
}

.ant-btn-info:hover,
.ant-btn-info:focus {
  color: rgba(255, 255, 255, 0.8);
  background: #2c9451;
  border: 1px solid #2c9451;
  box-shadow: 0 0 8px 0px #2c9451;
}


/* 图标按钮*/
.ant-btn-icon {
  background: #2a6621;
  border: 1px solid #153b37;
}


//屏幕适应
@media screen and (max-height: 768px){
  .tableclass{
    height: 80%;
    max-height: 86%;
  }
}
@media screen and (min-width: 1920px){
  form .ant-select.selectwidth{
    width: 180px;
  }
}
@media screen and (max-width: 1919px){
  form .ant-select.selectwidth{
    width: 120px;
  }
  .inputwidth{
    width: 120px;
  }
  .pickerwidth{
    width: 180px;
  }
}
@media screen and (max-width: 1500px){
  form .ant-select.selectwidth{
    width: 100px;
  }
  .inputwidth{
    width: 100px;
  }
  .pickerwidth{
    width: 180px;
  }
  .ant-form-inline .ant-form-item{
    margin-right: 8px;
    &:last-child{
      margin-right: 0;
    }
  }
}
